package com.lipeng.mapper;

import com.lipeng.bean.Club;
import com.lipeng.bean.Shop;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ClubMapper {
    int deleteByPrimaryKey(Integer cid);

    int insert(Club record);

    int insertSelective(Club record);

    Club selectByPrimaryKey(Integer cid);

    int updateByPrimaryKeySelective(Club record);

    int updateByPrimaryKey(Club record);

    List<Club> selectAllClub();

    List<Club> selectClubByName(@Param("name") String name);
}